Interface sjl.FrontInsertContainer
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface sjl.FrontInsertContainer

public interface FrontInsertContainer
extends Object
extends SequenceContainer
An interface for containers that support the push_front() method. By implementing this interface, the container can be used with the iterator adapter FrontInsertIterator.

Copyright © 1996 Finn Bock

See Also:
FrontInsertIterator, List, Deque

Method Index

 o pop_front()
Remove the first element in the container.
 o push_front(Object)
Add an element to the beginning of the container.

Methods

 o push_front
  public abstract void push_front(Object object)
Add an element to the beginning of the container.
Parameters:
object - The element that will be added to the beginning of the container.
 o pop_front
  public abstract void pop_front()
Remove the first element in the container.

All Packages  Class Hierarchy  This Package  Previous  Next  Index